package com.team.ai.mapper;

import com.team.ai.entity.AiVideo;
import com.team.ai.entity.Video;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AiVideoMapper {
    int insert(String video,String title);

    int delete(int id);

    int update(String video,String title,int id);

    List<AiVideo> selectList();

    AiVideo  selectDetail(int id);

}
